<?php

class DbException extends Exception{

    const EXCEPTION_DEFAULT_MESSAGE = 'Connection lost';

    function __construct($message = self::EXCEPTION_DEFAULT_MESSAGE) {
        Error::trigger($message);
    }

}